Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add timeout to stop and killProcess #228

Merged
merged 3 commits into from
Jun 11, 2018
Merged

Conversation

dryajov
Copy link
Member

@dryajov dryajov commented Apr 6, 2018

Adding a timeout param to stop and killProcess as well as increasing the default grace timeout for non disposable nodes proposed in #226 (comment).

  • disposable repos do what they do now when calling stop
  • non disposable repos have a longer timeout by default
  • modify ipfsd.stop to allo passing a timeout that allows the user controlling the behavior

note: don't merge, tests still need work

this is ready for review

@ghost ghost assigned dryajov Apr 6, 2018
@ghost ghost added the status/in-progress In progress label Apr 6, 2018
@dryajov dryajov changed the title [WIP] feat: add timeout to stop and killProcess feat: add timeout to stop and killProcess Apr 8, 2018
@vasco-santos
Copy link
Member

SGTM @dryajov

Can you just rebase your PR with master?

@vasco-santos vasco-santos merged commit d6955d4 into master Jun 11, 2018
@ghost ghost removed the status/in-progress In progress label Jun 11, 2018
@vasco-santos vasco-santos deleted the feat/stop-timeout branch June 11, 2018 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants